$def with (filename="")

$var jsfiles: https://cdn.jsdelivr.net/npm/vditor/dist/index.min.js /static/libs/logic/${filename}.js
$var cssfiles: https://cdn.jsdelivr.net/npm/vditor/dist/index.css
$var title: Markdown 编辑器

<style type="text/css">
    .vditor-card {
        width:100%;
        height: 98vh;
    }

    .btext button{
        width:100% !important;
        font-size: 10px !important;
    }
    .vditor-preview__action{
        display:none;
    }
</style>
<div class="vditor-card">
    <div id="vditor"></div>
</div>